<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="dictCategoryList" checkbox="true" fitColumns="true" title="实验类别字典" actionUrl="powerNodeOptLogController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作时间"  field="createDate" formatter="yyyy-MM-dd hh:mm:ss" hidden="false"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="机床名称"  field="deviceName"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作类型"  field="optType"   query="true" queryMode="single"  width="120" replace="关闭_0,打开_1"></t:dgCol>
 
 <%--   <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar> --%>
   </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 			$("#dictGroupListtb").find("input[name='createDate']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'dictCategoryController.do?upload', "dictCategoryList");
}

//导出
function ExportXls() {
	JeecgExcelExport("dictCategoryController.do?exportXls","dictCategoryList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("dictCategoryController.do?exportXlsByT","dictCategoryList");
}
 </script>